#pragma once

#ifndef _TEXTURE
#define _TEXTURE


#include "Base.h"
#include "GraphicsManager.h"
#include <string>
#include <map>

class CTexture
{

protected:
	
	std::string m_FileName;
	virtual bool LoadFile()=0;
	virtual void Unload(){}
public:
	CTexture():m_FileName(""){};
	~CTexture();
	const std::string& GetFileName() const;
	bool Load(const std::string &FileName);
	bool Reload();
	virtual void Activate(size_t StageId)=0;
};


#endif